package au.chao.main;

import java.util.ArrayList;

public class Owner extends Person{

	private ArrayList<Bill> Bills = new ArrayList<Bill>();
	private ArrayList<Property> Properties = new ArrayList<Property>();
	
	public Owner(String fname, String lname){
		super(fname,lname,"",-1);
	}

	public ArrayList<Bill> getBills() {
		return Bills;
	}

	public void setBills(ArrayList<Bill> bills) {
		Bills = bills;
	}
	
	public void addBill(Bill b){
		Bills.add(b);
	}

	public boolean removeBill(Bill b){
		return Bills.remove(b);
	}
	public ArrayList<Property> getProperties() {
		return Properties;
	}

	public void setProperties(ArrayList<Property> properties) {
		Properties = properties;
	}
	
	public void addProperty(Property p){
		Properties.add(p);
	}
	
	public boolean removeProperty(Property p){
		return Properties.remove(p);
	}
}
